package com.jiang.annotation.aop.global_exception_handle;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/exception")
public class ExceptionHandleController {

    @GetMapping("/test1")
    public String test1() {
        int a = 1/0;
        return "ok";
    }
}
